package com.karl.service;

import java.util.List;

import com.karl.entity.Product;
import com.karl.util.Page;

public interface ProductManager {
	
	void add(Product p);
	
	List<Product> list(String key);
	
	int count();
	
	public Page firstPage();
	
	public Page endPage();
	
	public Page prePage();
	
	public Page nextPage();
	
	public Page selectPage(int i);
}
